package com.stormrage.constants;

/**
 * @author www.stormragetech.com
 * @date 2016年1月17日
 * @version 1.0.0
 */
public class ErrCons {

	// ------------------------------ Return_Code ------------------------------

	public static final Integer SUC = 0;
	public static final String SUC_MSG = "操作成功";

	// -------------------- Dao 类 --------------------

	public static final Integer DAO_EXP = 10000;
	public static final String DAO_EXP_MSG = "执行【 Dao 】发生【 Exception 】";

	public static final Integer DAO_ERR = 10001;
	public static final String DAO_ERR_MSG = "执行【 Dao 】发生【 ERROR 】";

	public static final Integer DAO_NIL = 10002;
	public static final String DAO_NIL_MSG = "查询记录为【 NULL 】";

	// -------------------- Service 类 --------------------
	public static final Integer SERV_EXP = 20000;
	public static final String SERV_EXP_MSG = "执行【 Service 】发生【 Exception 】";

	public static final Integer SERV_ERR = 20001;
	public static final String SERV_ERR_MSG = "执行【 Service 】发生【 ERROR 】";

	// -------------------- Controller 类 --------------------
	public static final Integer CTRL_EXP = 30000;
	public static final String CTRL_EXP_MSG = "执行【 Controller 】发生【 Exception 】";

	public static final Integer CTRL_ERR = 30001;
	public static final String CTRL_ERR_MSG = "执行【 Controller 】发生【 ERROR 】";

	// -------------------- Util 类 --------------------
	public static final Integer UTL_EXP = 40000;
	public static final String UTL_EXP_MSG = "执行【 Util 】发生【 Exception 】";

	public static final Integer UTL_ERR = 40001;
	public static final String UTL_ERR_MSG = "执行【 Util 】发生【 ERROR 】";

}
